import time
import requests

num_list = [num for num in range(2, 50)]
num_str = ''
for num in num_list:
    num_str = num_str + str(num) + ','
url = 'http://127.0.0.1:5000/is_prime/%s' % num_str[:-1]

response = requests.get(url)
print(response.text)